//
//  HYProductModel.h
//  Fanmugua
//
//  Created by xiaomk on 2019/12/7.
//  Copyright © 2019 taolang. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HYProductModel : NSObject
@property (nonatomic, copy) NSString *appleSubProductId;       //苹果订阅产品Id
@property (nonatomic, copy) NSString *appleSubscribeId;       //苹果订阅组Id
@property (nonatomic, copy) NSString *secondMonthPrice;       //实际价格 / 次月金额
@property (nonatomic, copy , nullable) NSString *firstMonthPrice;       //首月金额

@property (nonatomic, copy, nullable) NSString *itemid;       //苹果商品ID
@property (nonatomic, copy) NSNumber *productid;    //商品ID
@property (nonatomic, copy) NSNumber *productId;    //商品ID
@property (nonatomic, copy) NSString *name;         //商品名称
@property (nonatomic, copy) NSNumber *price;        //价格
@property (nonatomic, copy) NSNumber *priceold;     //原价
@property (nonatomic, copy) NSNumber *vipdays;      //vip 天数
@property (nonatomic, copy) NSNumber *coinnum;      //金币数
@property (nonatomic, copy) NSNumber *Pro_autoRenew;      //是否是自动续费
@property (nonatomic, copy) NSString *pro_bewrite;      //描述
@property (nonatomic, copy) NSString *hint1;
@property (nonatomic, copy) NSString *hint2;

@property (nonatomic, copy) NSNumber *priceOld;      //原价
@property (nonatomic, copy) NSNumber *version;      //版本
@property (nonatomic, copy) NSNumber *firstPrice;      //首充金额
@property (nonatomic, copy) NSNumber *isDelete;        //是否删除（0未删除，1已删除）
@property (nonatomic, copy) NSNumber *autoRenew;        //是否自动续费（1是，0否）
@property (nonatomic, copy) NSNumber *ascription;        //所属:0通用，1安卓，2苹果
@property (nonatomic, copy,nullable) NSNumber *subscribed;        //0 未购买 1已经购买过

@property (nonatomic, assign) BOOL isNew;          //是否是 新版本
@property (nonatomic, copy) NSNumber *promotionid;


//@property (nonatomic, copy) NSString *iosname;      //名称
@property (nonatomic, copy) NSString *cg_detail;    //名称
//@property (nonatomic, assign) BOOL isyear;          //是否是 年费
//@property (nonatomic, copy) NSNumber *ordernum;
//@property (nonatomic, copy) NSNumber *promotionid;
//@property (nonatomic, assign) BOOL isdelete;

@property (nonatomic, copy, nullable) NSString *cg_itemId;       //苹果商品ID
@end

@interface CGOrderModel : NSObject
@property (nonatomic, copy) NSString *orderNum;     //自己生成的订单编号
@property (nonatomic, copy) NSNumber *productid;    //商品ID
@property (nonatomic, copy) NSNumber *price;        //价格
@property (nonatomic, copy) NSString *itemid;       //苹果 商品 ID
@end

NS_ASSUME_NONNULL_END
